import React, { Component } from 'react';
import {
    View,
    Dimensions,
    Image,
    Text,
    Slider,
    TouchableWithoutFeedback,
    TouchableOpacity,
    Button,
    StyleSheet
} from 'react-native';

export default class ResScreen extends Component {
    constructor(props) {
        super(props);
        this.params = props.navigation.state.params;
        this.state = {
            requestURL: this.params.URL
        }
    } 
    render() {
        return (
            <View>
                <View>
                    {
                        this.params.TYPE == '3' ? <Image source={{ uri: this.params.URL }} /> : ''
                    }
                </View>
                <View>
                    {
                        this.params.TYPE == '3' ? <Image source={{ uri: this.params.URL }} /> : ''
                    }
                </View>
            </View>
        )
    }
}